<?php
//注册登录
Route::group(['namespace' => 'Auth'], function(){
    Route::get('login', 'loginController@index');
    Route::post('login', 'loginController@login');
    Route::get('logout', 'logoutController@logout');
});